﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="statistics.aspx.cs" Inherits="NKD07.statistics" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="gwProductStatistics" runat="server" 
        AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" 
        BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
        EnableModelValidation="True" ForeColor="Black" GridLines="Vertical" 
        Width="100%" AllowPaging="True" AllowSorting="True" 
        EmptyDataText="Không Tìm Thấy Sản Phẩm Nào">
        <AlternatingRowStyle BackColor="#CCCCCC" />
        <Columns>
            <asp:TemplateField HeaderText="STT">
                <ControlStyle Font-Bold="True" />
                    <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:Label ID="lbAutoNumber" runat="server" Text='<%# Container.DataItemIndex+1 %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="name" HeaderText="Tên Sản Phẩm" >
            <ControlStyle Font-Bold="True" Font-Size="Medium" />
            <HeaderStyle Height="40px" HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="datetime" HeaderText="Ngày Nhập" >
            <ControlStyle Font-Bold="True" Font-Size="Medium" />
            <HeaderStyle Height="40px" HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="name1" HeaderText="Nhà Sản Xuất" >
            <ControlStyle Font-Bold="True" Font-Size="Medium" />
            <HeaderStyle Height="40px" HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="stock" HeaderText="Số Lượng Tồn" >
            <ControlStyle Font-Bold="True" Font-Size="Medium" />
            <HeaderStyle Height="40px" HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" 
            HorizontalAlign="Center" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <RowStyle Height="30px" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />

    </asp:GridView>
</asp:Content>
